<template>
  <div class="dashboard-container">
    <div class="dashboard-text">name:{{name}}</div>
    <jw-area v-model="data" :init="init"></jw-area>
    <el-button @click="init = [140000, 140100, 140101]">test</el-button>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
import JwArea from '@/components/Area'
export default {
  name: 'dashboard',
  data() {
    return {
      data: [],
      init: [110000, 110100, 110101]
    }
  },
  components: {
    JwArea: JwArea
  },
  computed: {
    ...mapGetters([
      'name'
    ])
  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
</style>
